/**
 * Basic
 */
body {overflow-x:hidden;overflow-y: auto; font: 12px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;line-height:1.5;}
h1 {font-weight: bold;margin: 0px;  }
h2 {font-weight: bold; border-bottom: 1px dashed #ccc;padding-bottom:6px;font-size:24px; margin: 0px 0px 15px 0px;  }
h3 {font-weight: bold;font-size:20px; }
#header,#left-panel{z-index:10000}
#ribbon{z-index:1000;}
#header .nav > li {display: inline-block;}
#header .navbar-nav {float: none;}
#header .navbar-brand{padding:0px 10px;line-height: 60px;}
.navbar {min-height:60px;}
.navbar .divider-vertical {
  height: 60px;
  margin: 0 0px;
}
.navbar-inverse .divider-vertical {
  border-right-color: #222222;
  border-left-color: #111111;
}
#header .navbar-nav > li > a {line-height: 60px;padding-bottom: 0px;padding-top: 0px;}
#top-navbar > li > a {font-size:16px;}
#ribbon {background: none repeat scroll 0 0 #e7e7eb;margin-left: 266px;}
#ribbon ul li{border-right: 1px solid #ddd;}
#ribbon .nav-tabs > li > a{margin-right:0;}
.fixed-header #header {position: fixed;width: 100%;z-index: 1003;top: 0;border-bottom: 2px solid #999;border-bottom: 1px solid rgba(0,0,0,.3);-webkit-box-shadow: -11px 12px 23px rgba(0,0,0,.1);box-shadow: -11px 12px 23px rgba(0,0,0,.1);}
.fixed-header #main {margin-top: 100px;}
.fixed-header #ribbon{position: fixed;width: 100%;top: 60px;}
aside {width: 256px;}
#main {display: block;padding: 0;margin-left: 266px;min-height: 500px;border-left: 1px solid #e7e7e7;}

.fixed-header.fixed-ribbon #header {border-bottom: 0;-webkit-box-shadow: none;box-shadow: none;}

ul,ol{list-style-type:none;}
select,input,img,select,label{vertical-align:middle;}
.dialog {display:none;}
.ui-tabs-nav li .ui-icon-close { float: left;cursor: pointer; }
.ui-layout-north{
	background-color: #563D7C;
	border-radius:0;
	 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
border-color: #463265;
}
.ui-layout-west{
	margin: 0;
    top: 0;left: 0;
    display: block;
    overflow-y: auto;
    position: absolute;
    z-index: 2;
}
.ui-layout-main{
	margin: 0;display: block;
    top: 0;right: 0;    
	overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    z-index: 2;
}
/**
 * Footer
 */
#footer {position: absolute;font-size:12px;text-align:right;bottom:0;top: auto;width: 100%;z-index:100;color: #ccc;height: 15px; }
#footer a { color: #ccc; text-decoration: none; }
#footer a:hover { text-decoration: underline; }

/* custom bootstrap css, or css Conflict*/
.navbar{margin-bottom:5px;}
.navbar-inner{min-height: 10px;padding:0 0;border-radius: 0 0;}
.affix,.affix-bottom,.affix-top{top:0px;position:fixed;width:auto;}
.affix{top:0px;background-color:#FFF;z-index:1000;position: fixed;}
/*.affix-bottom {bottom:0px;position: fixed;top: auto;}*/
div.jGrowl.top-right {right: 0;top: 40px;}
.modal-dialog{width:960px}

.accordion-heading{background:#DDD;}
/*权限管理*/
.controller-row {font-weight: bold; }
.controller-row a { color: #efefef; }
.controller:hover { cursor: pointer; }
.collapserow { background: url('../img/icons/bullet_arrow_down.png') no-repeat; padding-left: 15px; }
.expandrow { background: url('../img/icons/bullet_arrow_right.png') no-repeat; padding-left: 15px; }
/*chosen*/
.chzn-container .chzn-drop,.chzn-container-single .chzn-single,.chzn-container-single .chzn-drop {min-width: 140px;}
.chzn-container-multi .chzn-choices{height: auto !important;min-height:32px;padding:4px;}
.chzn-container-multi .chzn-choices .search-field input{height: 24px;}

.form-horizontal .wygiswys ,div.wygiswys{margin:20px;}
.form_div,form div.form-group,form div.swfupload-control {padding:5px;vertical-align:middle;zoom:1;line-height: 28px;}	
.form-horizontal .control-label {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0px;line-height:38px;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"]{margin:-4px 5px 0 0;position: relative;}
.radio label, .checkbox label{padding-right:20px;}
legend{width:auto;float: left;margin-right: 40px;   font-size: inherit;border: 0;}
input[type="radio"], input[type="checkbox"]{width:auto !important;height:auto !important;}
div.input span.description { margin-left: 1px; }

.datetime .form-control,.date .form-control{display:inline-block;width:auto;}
.form-group {margin-bottom: 2px;}
form-control
form .datetime select{
	display:inline-block;width:auto;
}
textarea,select { width: auto;}
select{height:auto;}
.form-group .datetime select{width:auto;display:inline-block;}


/**
 * Navigation
 */
#navigation ul { margin: 0px; padding: 0px; list-style: none; }
#navigation ul li { padding: 5px; margin-left: 3px; margin-bottom: 10px; background-color: #eee; }
#navigation ul li a { margin-bottom: 3px; display: block; font-size: 18px; text-decoration: none; color: #464646; }

#navigation ul li ul { margin-left: 0px; background-color: #fff; }
#navigation ul li ul li { margin-bottom: 2px; background-color: #fff; }
#navigation ul li ul li a { margin: 1px 3px 1px 3px; display: block; font-size: 14px; font-weight: bold; text-decoration: none; color: #21759B; }
#navigation ul li ul li a:hover, #navigation ul li ul li a.current { color: #D54E21; }

/**
 * Themes
 */
div.extensions-themes h3 { font-size: 16px; margin: 10px 0px 10px 0px; }
div.extensions-themes .current-theme .screenshot { float: left; margin: 0px 70px 0px 0px; }
div.extensions-themes .available-themes { border-top: 1px dashed #ccc; margin: 50px 0px 0px 0px; }
div.extensions-themes .available-themes ul li { float: left; margin: 0px 70px 0px 0px; display: block; }
div.extensions-themes .available-themes .actions a { margin-right: 10px; }

/**
 * File Manager
 */
.directory-content ul li { padding-left: 18px; }
.directory-content ul li.directory { background: url(../img/icons/folder.png) no-repeat; }
.directory-content ul li.file { background: url(../img/icons/page_white.png) no-repeat; }
.directory-content ul li.file span.actions { margin-left: 20px; display: none; }
.directory-content ul li.file span.actions a { text-decoration: none; font-size: 12px; }
.directory-content ul li.file-extension-php { background: url(../img/icons/page_white_php.png) no-repeat; }
.directory-content ul li.file-extension-css { background: url(../img/icons/css.png) no-repeat; }
.directory-content ul li.file-extension-html { background: url(../img/icons/html.png) no-repeat; }
textarea.file-content { width: 100%; height: 350px; }

.positionHelper {z-index:10000;}

.tooltip-inner {max-width: 400px;text-align:left;padding: 5px 8px;}
/**
 * Tooltip
 */
.tipsy { padding: 5px; font-size: 10px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat; }
.tipsy-inner { padding: 4px 5px; background-color: black; color: white; max-width: 200px; text-align: center; }
.tipsy-north { background-image: url(../img/icons/tipsy-north.gif); background-position: top center; }
.tipsy-south { background-image: url(../img/icons/tipsy-south.gif); background-position: bottom center; }
.tipsy-east { background-image: url(../img/icons/tipsy-east.gif); background-position: right center; }
.tipsy-west { background-image: url(../img/icons/tipsy-west.gif); background-position: left center; }
.ui-menu li {list-style: none; display:inline;float: left;}
/**
 * Others
 */
.ui-portlet{border:1px solid #ddd;}
.ui-portlet-header{background:#f3f3f3;}
.ui-portlet-header .title{border:0 none;padding: 5px 15px;margin: 5px 0;}
.ui-portlet-content{padding:10px;}

div.actions {margin:10px 0; padding:0;}
div.actions ul {float:left;padding-left: 0;}
div.actions ul li { margin: 0px;margin:0 5px 0 0; padding: 0; list-style: none; display:inline;float: left;}
div.actions ul li a {display:block;text-decoration:none;}

div.bulk-actions .input { float: left; padding: 4px; }

div.breadcrumb { margin: 0px 0px 20px 0px; }

#loading { margin: 0 auto; width: 20px; text-align: center; }
#loading p { background-color: #FFF1A8; font-weight: bold; padding: 5px; margin: 0px; }

.round { -moz-border-radius: 5px; -webkit-border-radius: 5px; }
.hidden { visibility: hidden;} /*display属性可能为inline-block等，使用visibility不会对display属性的值产生影响 */

.ui-search-form-titlebar { height:32px;cursor:pointer;}
.ui-search-form-title {float:left;}
.ui-search-form-close {	float:left;margin:5px;}
.ui-search-form-content{position:relative;padding:0px;}
.ui-upload-filelist {float:left;}
.ui-upload-filelist input[type="text"] {width:100px;}
.upload-filelist{
	background:#fdfdfd; /*设置一个浅色的背景，放在一些白色特别的图片不显示，比如logo或其它图标类等 */
}
.upload-fileitem{
	border:1px solid #ccc;
	padding:10px;margin:5px;list-style: none;
}
.upload-fileitem img{
	float:left;width:100px;height:100px;margin: 10px;
}
.upload-fileitem input {
	height: 28px;padding:2px 5px;
	font-size: 12px;
	width:320px;
}
	
/* 搜索表单中，按字段统计
 */
.model-groupby-field-button {float:left;display:inline;}
.model-groupby-field-button li {
	cursor:pointer;	float:left;display:inline;
	list-style:none outside none;margin:3px;	padding:3px;width:16px;height:16px;	position:relative;
}
.model-sum-field-button {float:left;display:inline;}
.model-sum-field-button li {
	cursor:pointer;	float:left;display:inline;
	list-style:none outside none;
	margin:3px;	padding:3px;
	width:16px;height:16px;	position:relative;
}
.ui-jqgrid .ui-jqgrid-bdiv {min-height: 200px;border:0 none;}
.ui-jqgrid .ui-userdata{border:0 none;}
.ui-jqdialog{position: absolute;}
.ui-jqgrid {font-size: 13px;border: 1px solid #D3D3D3;}
.ui-jqgrid .ui-pg-input {width: 18px;height: 18px;}
.ui-jqgrid .ui-jqgrid-htable th div{height: auto;}

.ui-state-default{border: 1px solid #D3D3D3;}

.ui-jqgrid .ui-pg-selbox {
    display: block;
    font-size: 0.8em;
    height: 24px;
    line-height: 24px;
	padding:4px 0 4px 5px;
	width: 50px;
}
ul.ui-grid-actions {margin:0 0;padding:0 0;}
.ui-grid-actions .btn{padding:0 0;}
.ui-grid-actions li {cursor:pointer;float:left;display:inline;list-style:none outside none;margin:3px;position:relative;}
.ui-jqgrid-labels,.jqgrow {height:32px;}
.ui-th-column div {padding:5px 2px;}
.ui-jqgrid .ui-jqgrid-bdiv {overflow-x:hidden;}
.ui-jqgrid .ui-pg-selbox {height: auto;}

.btn-group > .btn, .btn-group-vertical > .btn{max-width: 200px;margin-bottom: 2px;overflow:hidden;}
.ui-widget-content a,.ui-widget-content a:hover{
    color: #428bca;
}
.context-menu-item.icon {
	width:auto;
	display:block;
    background-position: 4px 2px;
    background-repeat: no-repeat;
    min-height: 18px;
}



/*ckeditor */
body.cke_editable{margin:20px;}
.cke_reset_all textarea,.cke_reset_all select,.cke_reset_all input[type="text"], .cke_reset_all input[type="password"] {cursor: text;padding: 4px 6px;border: 1px solid #CCCCCC;height:auto;margin-bottom: 3px;}
.cke_reset_all, .cke_reset_all .form-horizontal .control-label {width: 60px;margin-right: 10px;}
.cke_reset_all, .cke_reset_all object.swfupload{height:24px;}
.cke_reset_all, .cke_reset_all .cke_top{width:auto;display:block;}
.margin-zore,.margin-zore .controls{margin:0 0;}
.cke_dialog_contents_body {overflow:hidden;}
.cke_reset_all, .cke_reset_all *{padding:auto;margin:auto;}

/* admin left menu  'smartadmin', */
.login-info {display: block;font-size: 12px;height: 39px;color: #fff;border: solid transparent;border-width: 1px 0;-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);width: 100%;margin: 0!important;border-bottom: 1px solid #525151;}
.minifyme {border-bottom: 1px solid #302F2F;background: #454545;color: #A8A8A8;text-align: center;padding: 0;width: 36px;height: 28px;display: block;position: absolute;right: -3px;border-radius: 5px 0 0 5px;cursor: pointer;margin-top: 5px;font-size: 19px;-webkit-transition: all .1s linear 0s;transition: all .1s linear 0s;}
.login-info>span {height: 38px;display: block;padding: 0 10px;border-bottom: 1px solid #1A1817;}
.login-info a {text-decoration: none!important;color: #a8a8a8;display: inline-block;margin-top: 6px;	box-sizing: content-box;}
.login-info a span {text-transform: capitalize;font-size: 14px;display: inline-block;text-decoration: none;max-width: 150px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;vertical-align: middle;}
.btn, a:link, button {-webkit-tap-highlight-color: rgba(169,3,41,.5);}
.fixed-navigation #left-panel {position: fixed;z-index: 998;}
nav ul li a:active {background: none repeat scroll 0 0 #616161 !important;}
nav ul {font-size: 13px;line-height: 0.5em;list-style: none outside none;margin: 0;padding: 0;position: relative;width: 100%;}
nav ul .active > a {color: #fff !important;position: relative;}
nav ul li.active > a:before {color: #eee;content: "";display: block;font-family: FontAwesome;font-size: 20px;height: 27px;line-height: normal;position: absolute;right: -21px;width: 27px;}
nav ul li.active.open > a:before {content: "";}
nav > ul > li.open:last-child {border-bottom: 1px solid rgba(255, 255, 255, 0.15);}
nav ul li {overflow: hidden;}
nav ul li a {color: #a8a8a8;display: block;font-size: 14px;font-weight: 400;line-height: normal;padding: 10px 10px 10px 11px;position: relative;text-decoration: none !important;}
nav > ul > li > ul > li > a, nav > ul > li > ul > li > ul > li > a {padding-bottom: 7px;padding-top: 7px;}
nav ul li a:focus {color: #c9c9c9;}
nav ul li a:hover {color: #fff;text-decoration: none;}
nav ul b {float: right;font-size: 14px;margin-top: -1px;}
nav ul span.menu-item-parent {display: inline-block;margin: 0;padding: 0;}
nav > ul > li > a b {position: absolute !important;right: 10px;top: 10px;}
nav > ul > li > a > i {display: inline-block;margin-right: 5px;position: relative;text-align: center;width: 15px;}
nav > ul > li > a > i > em {background: none repeat scroll 0 0 #ed1c24;border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 50%;color: #fff;display: block;font-size: 9px;font-style: normal;font-weight: 700;line-height: 8px;max-height: 13px;min-width: 13px;padding: 2px;position: absolute;right: -6px;text-align: center;text-decoration: none;top: -8px;vertical-align: baseline;white-space: nowrap;}
nav ul li li {border-bottom: 0 none;position: relative;}
nav > ul > li > ul:before {border-left: 1px solid #7a7a7a;bottom: 0;content: "";display: block;left: 23px;position: absolute;top: 0;z-index: 1;}
nav > ul ul li:before {border-top: 1px solid #7a7a7a;content: "";display: block;left: 23px;position: absolute;top: 16px;width: 8px;z-index: 1;}
nav > ul ul ul li:before {border-top: 1px solid transparent;content: "";display: block;left: 10px;position: absolute;top: 17px;width: 18px;}
nav > ul ul li a i {font-size: 14px !important;text-align: center !important;width: 18px !important;}
nav > ul > li:hover > ul:before, nav > ul > li:hover > ul > li:before {border-color: #acacac !important;}
nav ul ul {background: none repeat scroll 0 0 rgba(69, 69, 69, 0.6);display: none;margin: 0;padding: 7px 0;}
nav ul ul ul {background: none repeat scroll 0 0 rgba(0, 0, 0, 0);padding: 0;}
nav ul ul li {margin: 0;padding: 0;}
nav ul ul li > a {font-size: 14px;font-weight: 400;outline: 0 none;padding-left: 42px;}
nav ul ul li > a:hover {background-color: rgba(69, 69, 69, 0.8);color: #fff;}
nav ul ul ul li a {color: #bfbfbf;font-size: 14px;padding: 8px 10px 8px 70px;}
nav ul ul ul li a:hover {background-color: #4c4f53;color: #fff;}
nav ul ul ul ul li a {padding-left: 90px;}
nav ul ul ul ul ul li a {padding-left: 110px;}
nav ul ul ul ul ul ul li a {padding-left: 130px;}
nav ul ul b {color: #b3b3b3;}
nav ul ul > li:hover b {color: #d5d9e2;}

/*******************************************************/
#left-panel {background:#fafafa;display: block;overflow: hidden;
	position: absolute;top: 60px;left: 0;z-index: 1002;
	min-height: 100%;border-top: 1px solid #e7e7e7;}
nav ul li.active,nav ul li a:active {background: none repeat scroll 0 0 #e7e7eb !important;}
nav ul .active > a {color: #333 !important;}
nav ul li.active > a:before {color: #666;}
nav > ul > li.open:last-child {border-bottom: 1px solid #e7e7e7;}
nav ul li {overflow: hidden;}

nav ul li a:focus {color: #333;}
nav ul li a:hover {color: #000;}

nav ul ul b {color: #333;}
nav ul ul > li:hover b {color: #d5d9e2;}
nav ul ul {background: none repeat scroll 0 0 #fafafa;display: none;margin: 0;padding: 7px 0;}
nav ul ul ul {background: none repeat scroll 0 0 #FFF;padding: 0;}
nav ul ul li > a:hover {background-color: #f4f5f9;color: #000;}
nav ul ul ul li a {color: #666;}
nav ul ul ul li a:hover {background-color: #f4f5f9;color: #000;}
